package com.rgp.serviceorder.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author nhp
 * @version 1.0
 * @description TODO
 * @date 2024-04-25 15:35
 */
@FeignClient("service-sse-push")
public interface ServiceSsePushClient {

    @GetMapping("/push")
    public String push(@RequestParam("userId") String userId, @RequestParam("content") String content);
}
